Repository navigation
Skills from GitHub, ranked by stars, author and freshness — 8.6.0 - #21
Merged
Merged
Conversation
`toolkit/skillrank.py` picks one source out of several for the same skill. It weighs repository stars (6), the author's standing (4) and freshness (3), with three rules on top: a repository under 100 stars scores zero however famous its author (a fresh repository from a prolific account is also what a compromised account looks like); the author lifts a real repository but never rescues one; and a repository whose star count dwarfs its author's following is damped by up to a third, because that fame belongs to the project, not to this skill. Stars say a source is good, not that it is on topic. The first live search for "malware triage" returned a REST-API skill from a half-million-star repository at 97/100. So the search now reads the file — at most eight per search, since each read is a GitHub call — and a file that does not mention the query's subject scores zero. Words every skill shares are dropped before comparing. `toolkit/skillsource.py` does the network half: code search for files that mention the words, repository search for collections that do, at most eight repositories inspected and 25 skills per repository. `GET /api/skills/sources`, `POST /api/skills/downloaded` (re-reads the file, checks its front matter, writes atomically), `GET`/`DELETE /api/skills/downloaded`. Downloaded skills live in `<data>/skills`, outside the package so an upgrade does not replace them, and are listed beside the shipped ones. The Skills screen searches, shows the numbers behind each verdict, and lets a person install any result rather than only the first. Version 8.6.0. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
foursecondfivefour
force-pushed
the
arena/36a4d756-nerveforge
branch
from
December 2, 2026 14:26
97147e1 to
8684180
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
The Skills screen stops being limited to the twelve skills that ship here: it searches GitHub, ranks the sources, and installs the one you pick.
The ranking (
toolkit/skillrank.py) weighs repository stars (6), the author's standing (4) and freshness (3), plus three rules that each answer a case the user named:Stars say good, not on-topic. The first live run answered "malware triage" with a REST-API skill from a 500k-star repository at 97/100. The search now reads the file (max 8 per search) and an unrelated file scores zero. Live result after the fix:
malware-triagefrombriiirussell/cybersecurity-skills(542★, pushed 2 days ago), installed, listed, removed — end to end.Discovery combines GitHub code search (files that mention the words) with repository search (collections that do), inspects at most 8 repositories and caps one repository at 25 skills.
Install re-reads the file rather than trusting the browser, validates the front matter against the Agent Skills rules, and writes
<data>/skills/<name>/SKILL.mdatomically with aSOURCErecord. Outside the package on purpose:pip install --upgrademust not replace an operator's skills. Downloaded skills are listed withsource: "downloaded", cannot shadow a shipped skill, and are removed withDELETE /api/skills/downloaded/<name>.Checks
unittest discover→ 1841 tests, OK (skipped=1)ruff check src/ tests/ scripts/clean;check_docs.py19 pairs;bump_version.py --checkandgen_api_doc.py --checkcleanNote on rate limits
Unauthenticated GitHub allows 60 requests an hour. The search is capped at 8 file reads plus the searches themselves, and a
GITHUB_TOKENin the bridge's environment raises the limits — it is read from the environment only, never written to a config file. A rate limit is reported as such in the panel rather than as an empty result.